package cc.lj.internal.merchant.interfaces.dto.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.Valid;
import javax.validation.constraints.DecimalMin;

/**
 * 物业资源分类查询参数
 * @author zhaoyong
 * @date 2021-12-23
 */

@Data
@NoArgsConstructor
@Validated
@ApiModel("物业资源分类查询参数")
public class PropertyRelationQuery {

    //private Integer relationId;

    @ApiModelProperty(value = "父级别主键")
    @DecimalMin("1")
    private Integer relationFid;

    @ApiModelProperty(value = "区域字母")
    private String relationAname;

    @ApiModelProperty(value = "区域名称")
    private String relationName;

    @ApiModelProperty(value = "区域分类级别")
    @DecimalMin("1")
    private Integer relationLevel;

    @ApiModelProperty(value = "relation_yid")
    private String relationYid;
}
